package com.bwie.controller;

import com.bwie.pojo.Group;
import com.bwie.service.GroupService;
import com.bwie.service.impl.GroupServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * 用户参团表(tb_group)表控制层
 *
 * @author xxxxx
 */
@RestController
@RequestMapping("/team/team")
public class GroupController {
    /**
     * 服务对象
     */
    @Autowired
    private GroupService groupService;

    /**
     * @author: 鑫仔
     * @description: 用户参团表
     * @params: []
     * @return: com.bwie.utils.R
     * @date: 2025/7/27 20:55
     */
    @PostMapping("groupList")
    public R groupList(
            @RequestBody PageInfoVo pageInfoVo
    ) {
        return groupService.groupList(pageInfoVo);
    }


}
